// db.js
const mysql = require('mysql2/promise');

const pool = mysql.createPool({
  host: 'mysql2.sqlpub.com',
  port: 3307,
  user: 'xinjieli',
  password: 'kALHySqqpNu5XzlR',
  database: 'webback_study',
});

module.exports = pool;
